<template>
    <section>
      <h2>购物车</h2>
      <p>你好：{{ user.name }}</p>
    </section>
  </template>
  
  <script>
    import user from "./old-state";
  export default {
    data() {
        return {
            user
        }
    }
  };
  </script>
  
  <style>
  </style>